package com.changgou.canal;

import com.xpand.starter.canal.annotation.EnableCanalClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @Author ZW
 * @DATE 2020/7/22 19:22
 * @Description  canal启动类
 **/
@SpringBootApplication
@EnableCanalClient  //声明当前服务是Canal的客户端
public class CanalApplication {

    public static void main(String[] args) {
        SpringApplication.run(CanalApplication.class,args);
    }
}
